/**
 * 
 */
package br.com.framework.persistencia.sort;

/**
 * @author Cleber
 *
 */
public enum Order {

	ASCENDING, DESCENDING;
	
	/**
	 * @return
	 */
	public String getOrder() {
		String order = null;
		switch (this) {
			case ASCENDING:
				order = "ASC";
				break;
			case DESCENDING:
				order = "DESC";
				break;
		}
		return order;
	}
	
}
